<!DOCTYPE html>
<html lang="en">
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta charset="UTF-8">
  <title>map</title>
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/ol/ol.css">
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/dat.gui/build/dat.gui.css">
  <style type="text/css">
    html, body, .container {
      padding: 0;
      margin: 0;
      height: 100%;
      width: 100%
    }

    .container {
      display: flex;
      justify-content: center; /* 水平居中 */
      align-items: center;
    }

    #map {
      padding: 0px;
      margin: 0px;
      height: 100%;
      width: 100%;
    }
  </style>
</head>
<body>
<div class="container">
  <div id="map"></div>
</div>
<script src="//cdn.jsdelivr.net/npm/dat.gui/build/dat.gui.js"></script>
<script src="./bundle/index.js"></script>
</body>
</html>
